package com.contextor.cards.shell.install
{
	import com.contextor.cards.shell.core.enums.MainViewIndex;
	import com.contextor.cards.shell.main.MainModel;

	public class InstallAppController
	{
		[Inject]
		public var mainModel:MainModel;
		
		public function InstallAppController()
		{
		}
		
		[MessageHandler]
		public function handleInstallAppComplete(event:InstallAppCompleteEvent):void
		{
			mainModel.mainViewIndex = MainViewIndex.MAIN_MENU_VIEW.data;
		}
	}
}